﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Ledict.ConditionExtract.Frm.DataProcess
{
    public partial class ShowData : Form
    {
        string Data = string.Empty;

        public ShowData(string data)
        {
            InitializeComponent();
            Data = data;
        }

        private void ShowData_Load(object sender, EventArgs e)
        {
           richTextBox1.Text = Data;
        }


        private void ShowData_KeyPress(object sender, KeyPressEventArgs e)
        {
            if (e.KeyChar == '\u001b')
                this.Close();
        }
    }
}
